<?php
use think\Route;
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
Route::post('init','home/Chats/init');
Route::post('saveMessage','home/Chats/save');
Route::post('checkChatPagetype','home/Chats/checkChatPagetype');
Route::post('changeChatPagetype','home/Chats/changeChatPagetype');
Route::post('getChatlist','home/Chats/getChatlist');
Route::post('seeChatrecord','home/Chats/seeChatrecord');
Route::post('mygift','home/Gifts/index');
Route::post('isFriend','home/friends/isFriend');
Route::post('sendGift','home/gifts/create');
Route::post('toplist','home/tops/index');
Route::post('createChat','home/chats/createChat');
Route::post('myChatUsers','home/chats/myChatUsers');
Route::post('applyCash','home/cashs/applyCash');
Route::post('myCashlist','home/cashs/index');
Route::post('alipay','home/Pay/alipay');
Route::post('giftList','home/gifts/index');
Route::post('mygift','home/gifts/mygift');
Route::post('followme','home/users/followme');
Route::post('getChargelist','home/charges/getChargelist');
Route::post('createorder','home/orders/createOrder');
Route::get('getProtocle','home/users/getRegisterProtocle');
Route::post('updatetop','home/squares/updatetop');
Route::post('getUsersquares','home/users/getUsersquares');
Route::post('consult','home/chats/consult');
Route::post('createreport','home/reports/createreport');
Route::post('wxpay','home/pay/wxpay');
Route::post('myPhotolist','home/photos/mylist');
Route::post('getUserphoto','home/photos/read');
Route::post('createPhoto','home/photos/create');
Route::post('deletePhoto','home/photos/delete');
Route::post('setTop','home/squares/setTop');
return [
    '__pattern__' => [
        'name' => '\w+',
    ],
];